package cx.zan.web.servlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/3/30 21:58
 */
@WebServlet("/order")
public class OrderServlet extends BaseServlet {
    /**
     * 订单生成
     * @param request
     * @param response
     * @throws IOException
     */
    public void generate(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().print("订单生成功能");
    }

    /**
     * 订单查询
     * @param request
     * @param response
     * @throws IOException
     */
    public void queryOrder(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().print("订单查询功能");
    }
}
